PQuit();
Caution: Save before quitting. Unlike its menu counterpart,
the PQuit command does not warn you if you have not saved the latest changes
to the publication. Use the PSave or PSaveAs
commands if you want to save changes to the open publication.
You should use this command only in very unusual circumstances, after making sure it is the only course of action. In general a plug-in should not terminate PageMaker, as this is usually inconsistent with users' expectations of how the application should work.
Example. The following example exits PageMaker.
PQuit();
Adobe PageMaker 6.5 Help > Commands > File > Quit
Adobe PageMaker 6.5 Help > Commands > File > Exit
Comments or suggestions? Contact Adobe Developer Support